exports.search_user = function (req, res) {

    var restfulParams = req.routeInfo.restfulParams;
    //最终结果
    var resultData = {};
    //注册后的用户ID
    var userId = 0;
    //任务流创建
    async.waterfall([
        function (cb) {
            R.SEND_HTTP(
                req,
                {
                    url: CORE_APIConfig.coreAPI.userSearch + "/u_id/" + restfulParams.u_id ,
                    method: 'POST',
                    data: {
                        fields: ["u_nickname", "u_header_url","u_realname", "u_birthday", "u_sex", "u_phone", "u_address", "u_sign"].join(",")
                    }
                },
                function (err, data) {
                    //判断是否有错误信息
                    if (err) {
                        return cb(err, data);
                    }

                    resultData.userInfo = data.data;
                    cb();
                }
            );

        }
    ], function (err, result) {

        //返回最终拼接结果
        RES.response(res, true, resultData);

    });

}